<block name="header">

<header class="am-topbar">
<div class="am-container">
  <h1 class="am-topbar-brand">
    <a href="/">{:C('SITE_TITLE')}</a>
  </h1>

  <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#doc-topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

  <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse">
    <ul class="am-nav am-nav-pills am-topbar-nav">
      <li class="" id="topbar-index"><a href="/"><span class="am-icon-home"></span> 首页</a></li>
      <li id="topbar-setting"><a href="{:U('/Home/Setting')}"><span class="am-icon-user"></span> 账户设置</a></li>
      <li class="am-dropdown" data-am-dropdown>
        <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
          <span class="am-icon-info-circle"></span> 关于 <span class="am-icon-caret-down"></span>
        </a>
        <ul class="am-dropdown-content">
          <li><a href="http://weibo.com/smilexc8" target="_blank"><span class="am-icon-weibo"></span> 璨的微博</a></li>
          <li><a href="http://cuican.name/?page_id=154" target="_blank"><span class="am-icon-meh-o"></span> 关于璨</a></li>
        </ul>
      </li>
    </ul>


  <!--用户名下拉菜单-->
  <div class="am-collapse am-topbar-collapse am-topbar-right" id="doc-topbar-user">
    <ul class="am-nav am-nav-pills am-topbar-nav">
      <li class="am-dropdown" data-am-dropdown>
        <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
          {:cookie('username')} <span class="am-icon-caret-down"></span>
        </a>
        <ul class="am-dropdown-content">
          <li class="am-dropdown-header">用户操作</li>
          <li><a href="javascript:;" onclick="logout()">登出</a></li>
        </ul>
      </li>
    </ul>
    </div>


  </div>
  </div>
</header>



</block>